<!DOCTYPE html>

<html>

<head>
  <meta charset="utf-8">
  <title>设置我的密码</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <#include "base/pageheader.ftl"/>
  <!-- <link rel="stylesheet" href="${request.contextPath}/static/libs/layui/css/layui.css" media="all"> -->
  <link rel="stylesheet" href="${request.contextPath}/static/modules/web/kdayunadmin/style/admin.css" media="all">
  <link rel="icon" href="${request.contextPath}<@configValue id='CAAB580980C74A169D8AFEB418ABB5AA'> </@configValue>" type="image/x-icon"/>
  <Style>
    .layui-fluid{
      height:100%;
      padding:5px
    }
    .strenth-bar{
      display: inline-block;
      border: 1px solid #ccc;
      padding: 2px 5px;
      border-radius: 8px;
      vertical-align: sub;
    }
    .strenth-bar .layui-progress{
      width: 150px;
      height: 8px;
      float: left;
      border-radius: 0;
    }
    .strenth-bar .layui-progress .layui-progress-bar{
      width: 0;
      height: 8px;
      border-radius: 0;
    }
  </style>
</head>

<body>

  <div class="layui-fluid">
    <div class="layui-row">
      <div class="layui-col-md12">
        <form id="frmPassword" class="layui-form" action="">
          <input type="hidden" name="RWID">
          <input value="<@configValue id=Global.SYSOPTKEY_ISOPENPASSWORDINFO> </@configValue>" type="hidden" name='PassStrongCheck'>
          <input type="hidden" name="OLDPASSWORD">
          <input type="hidden" name="ORGCODE">
          <div class="layui-card">
            <div class="layui-card-header">修改密码</div>
            <div class="layui-card-body" pad15>
              <div class="layui-form" lay-filter="">
                <div class="layui-form-item">
                  <label class="layui-form-label">当前密码</label>
                  <div class="layui-input-inline">
                    <input type="password" name="oldPassword" autocomplete="off" lay-verify="oldPassword" maxlength="16" lay-verType="tips" class="layui-input">
                  </div>
                  <div class="layui-form-mid layui-hide" style="color: red" id="oldpassdiv">*当前密码输入不正确</div>
                </div>
                <div class="layui-form-item">
                  <label class="layui-form-label">新密码</label>
                  <div class="layui-input-inline">
                    <input type="password" name="newPassword" lay-verify="pass" maxlength="16" lay-verType="tips" autocomplete="off" id="LAY_password" class="layui-input">
                    <@configNot id=Global.SYSOPTKEY_ISOPENPASSWORDINFO value='none'>
                    <div style="padding-top: 2px;">
                        <span class="psStrong" style="wdith:15px;height:15px">强度</span>
                        <div class="strenth-bar">
                            <div class="layui-progress" lay-filter="strenth" style="width:115px">
                                <div class="layui-progress-bar"></div>
                            </div>
                        </div>
                        <span class="strenth_Text">无</span>
                    </div>
                    </@configNot>
                  </div>
                </div>
                <div class="layui-form-item">
                  <label class="layui-form-label">确认新密码</label>
                  <div class="layui-input-inline">
                    <input type="password" name="repassword"  lay-verify="pass" lay-verType="tips" maxlength="16" autocomplete="off" class="layui-input">
                  </div>
                  <div class="layui-form-mid layui-hide" style="color: red" id="repassworddiv">*两次输入的密码不一致</div>
                </div>
                <div class="layui-form-item">
                  <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="setmypass">确认修改</button>
                  </div>
                </div>
              </div>
        </form>
        </div>
        </div>
      </div>
    </div>
  </div>

  <script src="${request.contextPath}/static/libs/md5.js"></script>
	<#include "base/pagefoot.ftl"/>

  <script src="${request.contextPath}/static/modules/web/password.js?v=<@configVersion suosxt='CORE'> </@configVersion>"></script> 
</body>

</html>